package com.swj.demo;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * 应用服务启动类
 *
 * @author huangrizhong
 * @since 2021/10/27
 */
@SpringBootApplication
@EnableDiscoveryClient
@MapperScan("com.swj.demo.mapper")
//@EnableFeignClients(basePackages = {xxx.xxx}) //todo 填充其他模块的feign接口类路径
public class DemoApplication {
    public static void main( String[] args ) {
        SpringApplication.run(DemoApplication.class, args);
    }
}
